package com.bookstore.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bookstore.entity.dto.OrderDTO;
import com.bookstore.entity.po.UserPO;


public interface UserService extends IService<UserPO> {

    boolean enoughMoney(String userName, OrderDTO orderDTO, Integer num, Integer bookId);

    boolean enoughMoneyGroup(String userName,Float allPrice);
}
